<?php /* Smarty version 2.6.18, created on 2016-12-13 13:51:20
         compiled from notice/m.president.details.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?><!--头部 end-->
<!--主体部分-->
<div class="container" style="margin-top:70px;">
  <div class="row row_margin">
    <table class="table table-bordered  text-center">
      <tr>
        <td>标题：</td>
        <td><?php echo $this->_tpl_vars['notice_data']['notice_title']; ?>
</td>
      </tr>
      <tr>
        <td>发布部门：</td>
        <td><?php echo $this->_tpl_vars['notice_data']['department_name']; ?>
</td>
      </tr>
      <tr>
        <td>发布时间</td>
        <td><?php echo $this->_tpl_vars['notice_data']['start_time']; ?>
</td>
      </tr>
      <tr>
        <td>发布内容：</td>
        <td><?php echo $this->_tpl_vars['notice_data']['notice_content']; ?>
</td>
      </tr>
      <tr>
        <td>附件：</td>
        <td><a href="index.php?a=notice.output&notice_file=<?php echo $this->_tpl_vars['notice_data']['notice_file']; ?>
"><?php echo $this->_tpl_vars['notice_data']['notice_file']; ?>
</a></td>
      </tr>
      <tr>
        <td colspan="2"><h5>阅读记录列表（红色：未阅读用户）</h5></td>
      </tr>
      <tr>
        <th class="text-center">用户</th>
        <th  class="text-center">阅读用户</th>
      </tr>
      <tr>
        <td>部门</td>
        <td>教研组 财政组</td>
      </tr>
      <tr>
		<td>老师</td>
		<td>
		<?php $_from = $this->_tpl_vars['staff_name']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
			<?php if ($this->_tpl_vars['value']['is_read'] == 1): ?>
				<span ><?php echo $this->_tpl_vars['value']['staff_name']; ?>
</span>，
			<?php else: ?>
				<span style="color:red;"><?php echo $this->_tpl_vars['value']['staff_name']; ?>
</span>，
			<?php endif; ?>
		<?php endforeach; endif; unset($_from); ?>	
		
		</td>
	</tr>
	<tr>
		<td>学生</td>
		<td>
		<?php $_from = $this->_tpl_vars['student_name']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
			<?php if ($this->_tpl_vars['value']['is_read'] == 1): ?>
				<span ><?php echo $this->_tpl_vars['value']['student_name']; ?>
</span>，
			<?php else: ?>
				<span style="color:red;"><?php echo $this->_tpl_vars['value']['student_name']; ?>
</span>，
			<?php endif; ?>
		<?php endforeach; endif; unset($_from); ?>	
		
		</td>
	</tr>
    </table>
  </div>
  <!--row  end--> 
  
  <!--  <div class="row row_margin" > 
        <button type="button" class="btn btn-primary btn-lg btn-block btn-primary2">确定</button>
        </div>--> 
</div>
<!--container  end--> 
<!--主体部分  end--> 
<!--底部-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "m.index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>